﻿body
{
	margin: 0px;
	font-size: 12px;
	font-family: 新宋体, 宋体;
	line-height: 120%;
	background: #d7e0f6;
}

a
{
	color: #1d60ff;
	text-decoration: underline;
}

a:hover
{
	/*color: #1d60ff;*/
	color: #ff3366;
	font-weight: bolder;
	text-decoration: none; /*text-decoration: underline;*/
}

/* general */
div.center
{
	margin-left: auto;
	margin-right: auto;
}

.required
{
	color: #ff0000;
	margin-left: 2px;
	margin-right: 2px;
}

.column-left
{
	text-align: left;
	text-indent: 3px;
}

.column-right
{
	text-align: right;
	text-indent: 3px;
}

.column-center
{
	text-align: center;
}

.flat-button
{
	border-bottom: #507cd1 1px solid;
	border-left: #507cd1 1px solid;
	border-top: #507cd1 1px solid;
	border-right: #507cd1 1px solid;
	padding-bottom: 2px;
	padding-left: 2px;
	padding-right: 2px;
	padding-top: 2px;
	margin-left: 2px;
	margin-right: 2px;
	background-color: white;
	color: #284e98;
}

.flat-textbox
{
	border-bottom: #507cd1 1px solid;
	border-left: #507cd1 1px solid;
	border-top: #507cd1 1px solid;
	border-right: #507cd1 1px solid;
	background-color: white;
	color: #284e98;
}

/* dialog */
.general-dialog
{
	background: #fff;
	border: 1px solid #507cd1;
	border-top: none;
	color: #284e98;
}
.general-dialog .title
{
	color: #ffffff;
	padding: 3px 6px 7px;
	height: 18px;
	font-size: 16px;
	font-weight: bold;
	background: #507cd1 /*url(images/site/title_bg.gif) repeat-x */;
	/*border:solid 1px #284e98 ; 
	border: 1px solid #507cd1;*/
	border-top: solid 1px #284e98 ;/* none;*/
	border-bottom:solid 1px #284e98 ; 
	text-align: left  ; 
}

.general-dialog .title span
{
	margin-top:3px;
	padding-top:2px;
}

.general-dialog .sub-title
{
	padding: 5px 0px 5px 0px;
	height: 14px;
	font-size: 14px;
	font-weight: bold;
	text-align: center;
}
.general-dialog .toolbar
{
	height: 26px;
	margin-top: 10px;
	margin-bottom: 5px;
}

/* header */
.header-title
{
	border-width: 1px 1px 0px 1px;
	border-style: solid solid none solid;
	font-size: 14px;
	font-weight: bold;
	line-height: 34px;
	color: #ffffff;
	text-align: left;
	background-color: #507cd1;
	text-indent: 4px;
}
.header-search
{
	margin: 10px auto 10px auto;
	border-style: solid solid none solid;
	border-width: 1px;
	width: 99%;
	background-color: #ffffff;
}
.header-toolbar
{
	text-align: left;
	margin-left: auto;
	margin-right: auto;
	width: 99%;
	font-size: 14px;
	font-weight: bold;
	height: 24px;
	line-height: 24px;
}
.header-gridview
{
	border-style: solid solid none solid;
	border-width: 1px;
	margin-left: auto; /*1px;*/
	margin-right: auto; /* 1px;*/
	width: 99%; /*width: 800px;*/
	background-color: #ffffff;
}
.header-pager
{
	border-style: none solid solid solid;
	border-width: 1px;
	margin-left: auto; /*1px;*/
	margin-right: auto; /* 1px;*/
	width: 99%;
	height: 24px;
	line-height: 24px;
}

/* entry */
.entry-title
{
	border-width: 1px 1px 0px 1px;
	border-style: solid solid none solid;
	font-size: 14px;
	font-weight: bold;
	line-height: 34px;
	color: #ffffff;
	text-align: left;
	background-color: #507cd1;
	text-indent: 4px;
}
.entry-content
{
	border-style: solid solid none solid;
	border-width: 1px;
	border: 1px solid #333300;
	margin-left: auto;
	margin-right: auto;
	width: 800px;
	background-color: #ffffff;
	margin-top: 20px;
}
.entry-toolbar
{
	padding: 6px 0px 6px 0px;
	border-style: none solid solid solid;
	border-width: 1px;
	border: 1px solid #333300;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	width: 800px;
	height: 34px;
	line-height: 34px;
}

/*bruce*/
.warning
{
	color: red;
	margin-left: auto;
	margin-right: auto;
	margin: 3px auto 2px auto;
	font-size: 14px; /*text-align: center; 	background: url(images/site/warning.png) no-repeat;*/
	background-color: white;
	background-position: left top;
	border: none; /* 1px  solid #333300;  border-bottom-width:1px;   border-bottom-style:solid;*/
	border-bottom: solid 1px #333300;
	width: 99%; /* padding:3px 5px 2px 5px;*/
}

.not-pass
{
	color: red;
	font-weight: bold;
}

.readonly
{
	border-bottom: #507cd1 1px solid;
	border-left: #507cd1 0px solid;
	border-top: #507cd1 0px solid;
	border-right: #507cd1 0px solid;
	background-color: white;
	color: #284e98; /* 	readonly:expression(this.readonly=true); 	 border-bottom-width: 2px; 	border-left-width: 0px; 	 border-right-width: 0px; 	border-top-width: 0px;*/
}

.button
{
	font-weight: bold; /*background: #904;*/
	padding-bottom: 3px; /*color: #fff;*/
	color: #904;
	padding-top: 5px;
	font-size: 14px;
	width: 100px;
	font-family: verdana;
}

/*toolbar*/
div.fbutton .add
{
	background: url(images/site/add.png) no-repeat center left;
	padding-left: 20px;
}

div.fbutton .delete
{
	background: url(images/site/close.png) no-repeat center left;
	padding-left: 20px;
}

/*validation*/
label.error
{
	display: none;
	background: url(images/site/unchecked.gif) no-repeat;
	padding-left: 16px;
	margin-left: .3em;
	color: red;
}

label.valid
{
	background: url(images/site/checked.gif) no-repeat;
	display: block;
	width: 16px;
	height: 16px;
}

/*mvc validation*/
.field-validation-error
{
	color: #ff0000;
}

.field-validation-valid
{
	display: none;
}

.input-validation-error
{
	border: 1px solid #ff0000;
	background-color: #ffeeee;
}

.validation-summary-errors
{
	font-weight: bold;
	color: #ff0000;
}

.validation-summary-valid
{
	display: none;
}
